WP_Defender\Component\Backup_Settings D

Total Complexity 232
Dependencies 40
Dependents 4
Total lines 1,465
Lines of code 1,121
Logical lines of code 520
Comment lines 264
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
restore_data()
D
10
91 303
import_module_strings()
A
44 15 43
gather_data()
A
27
5 162
module_to_controller()
A
47 13 37
create_basic_config()
A
26
2 198
model_labels()
A
44 12 47
create_default_module_strings()
A
49 11 31
module_to_name()
A
51 11 26
parse_data_for_hub()
A
47 8 36
change_subscriber_format()
A
56 8 20
prepare_config_labels()
S
54 7 21
format_blocklist_monitor_strings()
S
54 5 24
parse_data_for_import()
S
55 4 21
get_configs()
S
58 4 16
clear_configs()
S
62 4 11
remove_unindexed_configs()
S
59 3 15
verify_config_data()
S
66 4 8
get_decoded_settings()
S
64 4 10
backup_data()
S
59 3 14
make_config_active()
S
62 3 11
get_prev_settings()
S
54 2 21
index_key()
S
64 3 10
maybe_create_default_config()
S
64 3 10
clear_keys()
S
69 2 7
get_enabled_user_enums()
S
76 1 4
__construct()
S
80 1 3
check_for_new_structure()
S
78 1 3
remove_index()
S
71 1 5
get_security_key_all_options()
S
76 1 4